package com.wowo.aop.calc;

import org.springframework.stereotype.Component;

//@Component
public class CalcImpl implements Calc{
    @Override
    public int add(int x, int y) {
        return x+y;
    }

    @Override
    public int sub(int x, int y) {
        return x-y;
    }
}
